home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / MPW Related / MPW Interfaces / CIncludes / Desk.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-17  |  1.1 KB  |  65 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        Desk.h
  3.  
  4.     Copyright:    © 1983-1993 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Version:    System 7.1 for ETO #11
  8.     Created:    Tuesday, March 30, 1993 18:00
  9.  
  10. */
  11.  
  12. #ifndef __DESK__
  13. #define __DESK__
  14.  
  15. #ifndef __TYPES__
  16. #include <Types.h>
  17. #endif
  18.  
  19. #ifndef __QUICKDRAW__
  20. #include <Quickdraw.h>
  21. #endif
  22.  
  23. #ifndef __EVENTS__
  24. #include <Events.h>
  25. #endif
  26.  
  27.  
  28. enum {
  29.  
  30.     accEvent = 64,
  31.     accRun = 65,
  32.     accCursor = 66,
  33.     accMenu = 67,
  34.     accUndo = 68,
  35.     accCut = 70,
  36.     accCopy = 71,
  37.     accPaste = 72,
  38.     accClear = 73,
  39.     goodbye = -1    /*goodbye message*/
  40. };
  41.  
  42. #ifdef __cplusplus
  43. extern "C" {
  44. #endif
  45. pascal short OpenDeskAcc(ConstStr255Param deskAccName)
  46.     = 0xA9B6; 
  47. pascal void CloseDeskAcc(short refNum)
  48.     = 0xA9B7; 
  49. pascal void SystemClick(const EventRecord *theEvent,WindowPtr theWindow)
  50.     = 0xA9B3; 
  51. pascal Boolean SystemEdit(short editCmd)
  52.     = 0xA9C2; 
  53. pascal void SystemTask(void)
  54.     = 0xA9B4; 
  55. pascal Boolean SystemEvent(const EventRecord *theEvent)
  56.     = 0xA9B2; 
  57. pascal void SystemMenu(long menuResult)
  58.     = 0xA9B5; 
  59. short opendeskacc(char *deskAccName); 
  60. #ifdef __cplusplus
  61. }
  62. #endif
  63.  
  64. #endif
  65.